<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript">
    $(function(){
        editor.render("editor");
        editor.addListener("ready",function(){
            editor.setContent($("#editor_hide").val());
        });
        editor1.render("editor_1");
        editor1.addListener("ready",function(){
            editor1.setContent($("#editor_hide_1").val());
        });
    })
</script>
<div align="center">
    <form id="admin_tourismEdit_editForm" method="post">
        <table class="tableForm">
            <tr>
                <th>编号</th><td><input name="id" class="easyui-numberbox" data-options="required:true" readonly /></td>
                <th>线路名称</th><td><input name="name" class="easyui-validatebox" data-options="required:true"/></td>
            </tr>
            <tr>
                <th>所属单位</th>
                <td >
                    <input type="text" class="easyui-combotree" name="deptId" data-options="url:'${pageContext.request.contextPath}/infoController/find_info.action?ids=06'" id="dept_type_1" style="width: 150px;">
                    <img src="${pageContext.request.contextPath}/style/images/extjs_icons/cut_red.png" onclick="$('#dept_type_1').combotree('clear');" />
                </td>
                <th>线路价格</th><td><input name="price" class="easyui-numberbox" data-options="required:true" precision="2"/></td>
            </tr>
            <tr>
                <th>排序</th><td><input name="order" class="easyui-numberbox"  /></td>
            </tr>
            <tr>
                <th>线路详情</th><td colspan="3"></td>
            </tr>
            <tr>
                <td colspan=4><div id="editor" style="width:99%;height:200px;"></div> <input type="hidden" id="editor_hide" name="detail"></td>
            </tr>
            <tr>
                <th>注意事项</th><td colspan=3></td>
            </tr>
            <tr>
                <td colspan=4><div id="editor_1" style="width:99%;height:200px;" ></div> <input type="hidden" id="editor_hide_1" name="attention"></td>
            </tr>
        </table>
    </form>
</div>